// 定义首页需要的接口
import request from '@/utils/request'

// 获取首页头部分类
export const findHeadCategory = () => {
  return request('/home/category/head', 'get')
}

// 获取品牌数据
export const findHotBrand = (payload) => {
  return request('/home/brand', 'get', payload)
}

// 获取轮播图数据
export const findBanner = () => {
  return request('home/banner', 'get')
}
